home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / Crossword / Source / WinDelegate.h < prev    next >
Text File  |  1992-09-25  |  827b  |  35 lines

  1. /*
  2.  
  3. File WinDelegate.h
  4.  
  5. The window delegate file categorizes the puzzle methods that relate to the crossword window.  These methods save a puzzle to a file, as well as handling details of resizing and inspecting.
  6.  
  7. */
  8.  
  9. #import "Puzzle.h"
  10. #import <dpsclient/dpsclient.h>
  11.  
  12.  
  13. /* ————————————————————————————————————————————————————————————————————————————  */
  14.  
  15.  
  16. @interface Puzzle (WinDelegate)
  17.  
  18. - (BOOL) save: sender;
  19. - (BOOL) saveAs: sender;
  20. - (BOOL) saveTo: sender;
  21. - (BOOL) writePuzzle: (const char *) file;
  22. - readPuzzle: (const char *) file;
  23. - new;
  24. - number: sender;
  25. - use: sender;
  26. - updateTitle;
  27. - changePuzzle: (id) newPuzzle;
  28. - update: sender;
  29. - windowWillResize: (id) theWindow  toSize: (NXSize *) size;
  30. - windowDidResize: sender;
  31. - windowDidClose: sender;
  32. - windowDidBecomeMain: sender;
  33. - windowDidResignMain: sender;
  34.  
  35. @end